package cn.edu.gsau.info.models;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author jinjiang
 * @since 2022-11-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tbl_menu")
public class Menu implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    private String name;

    private String path;

    private String component;

    /**
     * 0显示，1隐藏
     */
    private Integer visible;

    /**
     * 0使用，1禁用
     */
    private Integer status;

    private String permission;

    private String icon;

    private String createBy;

    private LocalDateTime createTime;

    private String updateBy;

    private LocalDateTime updateTime;

    /**
     * 0正常，1删除
     */
    @TableLogic
    private Integer deleted;

    private String memo;

    /**
     * 是否显示在导航栏，0显示，1隐藏
     */
    private Integer shownav;


}
